<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>

</head>
	<body id="master">

		<sfa:mainHeader></sfa:mainHeader>
		<div class="webpart3 contentarea">
			<div class="webpart-head">
				<div class="webpart-head-item">
					 明细显示 
					 <div class="tools-btn" style="margin-right: 4px; margin-bottom: 0px;">
					 <input type="button" class="linkbtn2" value="返回" id="return" onclick = "javascript:history.go(-1);"></div>
				</div>
			</div>
			<div class="webpart-main">
			<div class="webpart-main-item" style= "padding-top: 12px;">
			<div class="search">
				<table border="0" cellspacing="0" cellpadding="0" class="sortable trStyleTable dg_borderstyle" id="dtable" style="margin-top: 15px; width: 100%;text-align: center;">
					<thead>					
						<tr id="dhtr">
							<td>
								<span>编号</span>
							</td>
							<td>
								<span>姓名</span>
							</td>
							<td>
								<span>层级</span>
							</td>
							<td>
								<span>考勤时间</span>
							</td>
							<td>
								<span>考勤结果</span>
							</td>
							</tr>
						</thead>
						<tbody>
						<c:forEach items="${list}" var="result">
							<tr class="gray datarow">
								<td>
									<span>
											${result.agentCode}
									</span>
								</td>
								<td>
									<span>	
										<a href="${path}/team/attendance/index/personal?
										agentcode=${result.agentCode}&agentname=${result.agentName}
										&agentlevel=${result.agentLevel}&checkstatus=${result.checkStatus}">
											${result.agentName}	
										</a>																	
									</span>
								</td>
								<td>
									<span>
										<sfa:dic showType="value" code="AGENTLEVELCODE_${result.agentLevel}"></sfa:dic>
									</span>
								</td>
								<td>
									<span>
										<fmt:formatDate value="${result.checkStartTime}" pattern="yyyy-MM-dd HH:mm"/>
										
										<fmt:formatDate value="${result.checkEndTime}" pattern="yyyy-MM-dd HH:mm"/>
									</span>
								</td>
								<td>
									<span>
										<sfa:dic showType="value" code="${result.checkStatus}"></sfa:dic>
									</span>
								</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
			</div>
			</div>
			</div>
			<div class="webpart-foot">
				<div class="webpart-foot-item">
				</div>
			</div>	
		</div>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>


